﻿namespace Jimmy.NinjiectDemo.Service.Imp
{
    internal class PersonService : IPersonService
    {
        public string GetPersonInfo(string userName)
        {
            if(!string.IsNullOrEmpty(userName) && "admin" == userName)
            {
                return string.Format("用户:{0}, 年龄:{1}, {2}人", userName, 30, "湖北");
            }

            return string.Empty;
        }
    }
}